


#if !defined( __CHART_H__ )
#define __CHART_H__


#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "chart.h"
#endif

#include <wx/wxprec.h>

#ifdef __BORLANDC__
#pragma hdrstop
#endif

#ifndef WX_PRECOMP
    #include <wx/dynarray.h>
#endif

#include "wx/chartpoints.h"


class wxChartSizes;


WX_DECLARE_OBJARRAY(wxChartPoints*, ListChartPoints);



class WXDLLIMPEXP_CHART wxChart

{
public:
	wxChart();
	virtual ~wxChart();



	void Add(wxChartPoints* cp);
	void Clear();



	ChartValue GetMaxX() const;
	ChartValue GetMinX() const;
	ChartValue GetMaxY() const;
	ChartValue GetMinY() const;
	int GetNumBarPoints() const;
	int GetNumBar3DPoints() const;



	void SetZoom(double z);
    double GetZoom() const;



	void SetSizes(wxChartSizes *sizes);
    wxChartSizes* GetSizes() const;



	virtual void Draw(CHART_HPAINT hp, CHART_HRECT hr);

private:
	ListChartPoints m_LCP;
};

#endif // __CHART_H__
